/*
 * Copyright (C) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.mikepenz.actionitembadge.library.utils;

/**
 * @since 2021-06-18
 */
public class RecordStatus {
    private static boolean switchAbility;
    private static boolean hideCheck;

    /***
     * 获取是否隐藏点击
     * @return hideCheck
     ***/
    public static boolean isHideCheck() {
        return hideCheck;
    }

    /***
     *  设置是否隐藏点击事件
     *  @param hideCheck
     *
     ***/
    public static void setHideCheck(boolean hideCheck) {
        RecordStatus.hideCheck = hideCheck;
    }

    /***
     *
     *  获取是否发生了switch操作
     *   @return switchAbility
     ***/
    public static boolean isSwitchAbility() {
        return switchAbility;
    }

    /**
     * 设置是否开启switch操作
     *
     * @param switchAbility 设置是否跳转ability
     **/
    public static void setSwitchAbility(boolean switchAbility) {
        RecordStatus.switchAbility = switchAbility;
    }
}
